import request from './index'

export const LoginAPI = (params:LoginAPIReq):Promise<LoginAPIRes> => request.post('/api/user/login', params)
export const RegisterAPI = (body:RegisterAPIReq):Promise<RegisterAPIRes> => request.post('/api/user/register', body)